/*
 * @Descripttion: 
 * @version: 
 * @Author: zhengys
 * @Date: 2021-02-27 16:12:16
 * @LastEditors: zhengys
 * @LastEditTime: 2021-02-27 16:38:54
 */

const http = require('http');  // 加载http服务模块
const routes = require('./moudle/routes')


http.createServer(function (req, res) {
  routes.static(req,res,'static')
}).listen(8000);

console.log('Server running at http://127.0.0.1:8000/');